package com.huangliusong.desigin.pattern.structual.decorator.v1;

/**
 * @author huangliusong
 * @since 2018/10/11
 * {@link }
 */
public class BattercakeWithEgg extends Battercake{
    @Override
    public   String getDesc() {
        return super.getDesc()+" 加一个鸡蛋";
    }

    @Override
    public int cost() {
        return super.cost()+1;
    }
}
